package com.zx.idc.backend.gui.test;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "illegal-multimedia")
public class IllegalMultimediaWorkerConfig {
    private List<HostInfo> workerInfo;

    public List<HostInfo> getWorkerInfo() {
        return workerInfo;
    }

    public IllegalMultimediaWorkerConfig setWorkerInfo(List<HostInfo> workerInfo) {
        this.workerInfo = workerInfo;
        return this;
    }
}
